a, b = 0, 1

while b < 16:
    a, b = b, a+b
    print(b, end=' ')
